﻿// ***********************************************************************
// Project			: Micua
// Assembly         : Micua.BLL
// Author           : iceStone
// Created          : 2013-11-18 11:59
//
// Last Modified By : iceStone
// Last Modified On : 2014-01-04 20:39
// ***********************************************************************
// <copyright file="Service.cs" company="Wedn.Net">
//     Copyright (c) Wedn.Net. All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using Micua.IBLL;
using Micua.Model;
using Micua.RepositoryFactory;

namespace Micua.BLL
{

    /// <summary>
    /// 分类 服务类 CategoryService
    /// 发表物分类，与发表物多对多关系
    /// </summary>
	/// <remarks>
	///  2013-11-18 20:02 Created By iceStone
	///  2014-01-04 20:39 Modified By iceStone
	/// </remarks>
	public partial class CategoryService : BaseService<Category>, ICategoryService
    {
        ///// <summary>
        ///// 设置当前操作类
        ///// </summary>
		///// <remarks>
		/////  2013-11-18 20:02 Created By iceStone
		/////  2014-01-04 20:39 Modified By iceStone
		///// </remarks>
        //protected override void SetCurrentRepository()
        //{
        //    Repository = DbSession.Instance.CategoryRepository;
        //}
        /// <summary>
        /// 构造函数设置当前操作类
        /// </summary>
		public CategoryService() : base(DbSession.Instance.CategoryRepository){}
    }

    /// <summary>
    /// 评论 服务类 CommentService
    /// </summary>
	/// <remarks>
	///  2013-11-18 20:02 Created By iceStone
	///  2014-01-04 20:39 Modified By iceStone
	/// </remarks>
	public partial class CommentService : BaseService<Comment>, ICommentService
    {
        ///// <summary>
        ///// 设置当前操作类
        ///// </summary>
		///// <remarks>
		/////  2013-11-18 20:02 Created By iceStone
		/////  2014-01-04 20:39 Modified By iceStone
		///// </remarks>
        //protected override void SetCurrentRepository()
        //{
        //    Repository = DbSession.Instance.CommentRepository;
        //}
        /// <summary>
        /// 构造函数设置当前操作类
        /// </summary>
		public CommentService() : base(DbSession.Instance.CommentRepository){}
    }

    /// <summary>
    /// 评论元数据 服务类 CommentMetaService
    /// </summary>
	/// <remarks>
	///  2013-11-18 20:02 Created By iceStone
	///  2014-01-04 20:39 Modified By iceStone
	/// </remarks>
	public partial class CommentMetaService : BaseService<CommentMeta>, ICommentMetaService
    {
        ///// <summary>
        ///// 设置当前操作类
        ///// </summary>
		///// <remarks>
		/////  2013-11-18 20:02 Created By iceStone
		/////  2014-01-04 20:39 Modified By iceStone
		///// </remarks>
        //protected override void SetCurrentRepository()
        //{
        //    Repository = DbSession.Instance.CommentMetaRepository;
        //}
        /// <summary>
        /// 构造函数设置当前操作类
        /// </summary>
		public CommentMetaService() : base(DbSession.Instance.CommentMetaRepository){}
    }

    /// <summary>
    /// 链接 服务类 LinkService
    /// </summary>
	/// <remarks>
	///  2013-11-18 20:02 Created By iceStone
	///  2014-01-04 20:39 Modified By iceStone
	/// </remarks>
	public partial class LinkService : BaseService<Link>, ILinkService
    {
        ///// <summary>
        ///// 设置当前操作类
        ///// </summary>
		///// <remarks>
		/////  2013-11-18 20:02 Created By iceStone
		/////  2014-01-04 20:39 Modified By iceStone
		///// </remarks>
        //protected override void SetCurrentRepository()
        //{
        //    Repository = DbSession.Instance.LinkRepository;
        //}
        /// <summary>
        /// 构造函数设置当前操作类
        /// </summary>
		public LinkService() : base(DbSession.Instance.LinkRepository){}
    }

    /// <summary>
    /// 系统配置选项 服务类 OptionService
    /// 键值对存储，有是否启用选项
    /// </summary>
	/// <remarks>
	///  2013-11-18 20:02 Created By iceStone
	///  2014-01-04 20:39 Modified By iceStone
	/// </remarks>
	public partial class OptionService : BaseService<Option>, IOptionService
    {
        ///// <summary>
        ///// 设置当前操作类
        ///// </summary>
		///// <remarks>
		/////  2013-11-18 20:02 Created By iceStone
		/////  2014-01-04 20:39 Modified By iceStone
		///// </remarks>
        //protected override void SetCurrentRepository()
        //{
        //    Repository = DbSession.Instance.OptionRepository;
        //}
        /// <summary>
        /// 构造函数设置当前操作类
        /// </summary>
		public OptionService() : base(DbSession.Instance.OptionRepository){}
    }

    /// <summary>
    /// 发表物 服务类 PostService
    /// 文章、页面
    /// </summary>
	/// <remarks>
	///  2013-11-18 20:02 Created By iceStone
	///  2014-01-04 20:39 Modified By iceStone
	/// </remarks>
	public partial class PostService : BaseService<Post>, IPostService
    {
        ///// <summary>
        ///// 设置当前操作类
        ///// </summary>
		///// <remarks>
		/////  2013-11-18 20:02 Created By iceStone
		/////  2014-01-04 20:39 Modified By iceStone
		///// </remarks>
        //protected override void SetCurrentRepository()
        //{
        //    Repository = DbSession.Instance.PostRepository;
        //}
        /// <summary>
        /// 构造函数设置当前操作类
        /// </summary>
		public PostService() : base(DbSession.Instance.PostRepository){}
    }

    /// <summary>
    /// 发表物元数据 服务类 PostMetaService
    /// </summary>
	/// <remarks>
	///  2013-11-18 20:02 Created By iceStone
	///  2014-01-04 20:39 Modified By iceStone
	/// </remarks>
	public partial class PostMetaService : BaseService<PostMeta>, IPostMetaService
    {
        ///// <summary>
        ///// 设置当前操作类
        ///// </summary>
		///// <remarks>
		/////  2013-11-18 20:02 Created By iceStone
		/////  2014-01-04 20:39 Modified By iceStone
		///// </remarks>
        //protected override void SetCurrentRepository()
        //{
        //    Repository = DbSession.Instance.PostMetaRepository;
        //}
        /// <summary>
        /// 构造函数设置当前操作类
        /// </summary>
		public PostMetaService() : base(DbSession.Instance.PostMetaRepository){}
    }

    /// <summary>
    /// 标签 服务类 TagService
    /// </summary>
	/// <remarks>
	///  2013-11-18 20:02 Created By iceStone
	///  2014-01-04 20:39 Modified By iceStone
	/// </remarks>
	public partial class TagService : BaseService<Tag>, ITagService
    {
        ///// <summary>
        ///// 设置当前操作类
        ///// </summary>
		///// <remarks>
		/////  2013-11-18 20:02 Created By iceStone
		/////  2014-01-04 20:39 Modified By iceStone
		///// </remarks>
        //protected override void SetCurrentRepository()
        //{
        //    Repository = DbSession.Instance.TagRepository;
        //}
        /// <summary>
        /// 构造函数设置当前操作类
        /// </summary>
		public TagService() : base(DbSession.Instance.TagRepository){}
    }

    /// <summary>
    /// 用户 服务类 UserService
    /// </summary>
	/// <remarks>
	///  2013-11-18 20:02 Created By iceStone
	///  2014-01-04 20:39 Modified By iceStone
	/// </remarks>
	public partial class UserService : BaseService<User>, IUserService
    {
        ///// <summary>
        ///// 设置当前操作类
        ///// </summary>
		///// <remarks>
		/////  2013-11-18 20:02 Created By iceStone
		/////  2014-01-04 20:39 Modified By iceStone
		///// </remarks>
        //protected override void SetCurrentRepository()
        //{
        //    Repository = DbSession.Instance.UserRepository;
        //}
        /// <summary>
        /// 构造函数设置当前操作类
        /// </summary>
		public UserService() : base(DbSession.Instance.UserRepository){}
    }

    /// <summary>
    /// 用户元数据 服务类 UserMetaService
    /// </summary>
	/// <remarks>
	///  2013-11-18 20:02 Created By iceStone
	///  2014-01-04 20:39 Modified By iceStone
	/// </remarks>
	public partial class UserMetaService : BaseService<UserMeta>, IUserMetaService
    {
        ///// <summary>
        ///// 设置当前操作类
        ///// </summary>
		///// <remarks>
		/////  2013-11-18 20:02 Created By iceStone
		/////  2014-01-04 20:39 Modified By iceStone
		///// </remarks>
        //protected override void SetCurrentRepository()
        //{
        //    Repository = DbSession.Instance.UserMetaRepository;
        //}
        /// <summary>
        /// 构造函数设置当前操作类
        /// </summary>
		public UserMetaService() : base(DbSession.Instance.UserMetaRepository){}
    }
}	
